package com.luozhili.Swing;

import javax.swing.*;
import java.awt.*;

/**
 * getstart
 */
public class Demo1 {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Demo");
        Button button = new Button("yessssssssssssssssssssssssssssssssssss");
        frame.getContentPane().add(button,BorderLayout.CENTER);
        frame.pack();
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
